<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Miniprep A</title>
</head>
<body>
<table width = "100%" bgcolor="#DBF3FF">
	<tr>
		<td width="70%">
			Miniprep A
		</td>
		<td width="10%">
		 	<s:form action="GeneMiniprepHistory">
				<s:hidden value="%{geneName}" name="geneName" />
				<s:hidden value="A" name="type" />
				<s:submit value="history"/>
			</s:form>
		</td>
		<td width="10">
			<s:form action="emergencyReport" id="emergencyReportMiniprepA">
			<s:hidden value="%{geneName}" name="geneName" />
			<s:hidden value="Miniprep A" name="formName"/>
			<input type="button" value="report" onclick="reportEmergencyMiniprepA()"/>
			</s:form>
		</td>
	</tr>
</table>
<center>
Genename:<s:property value="geneName"/>
<s:form action="updateGeneMiniprep" id="updateGeneMiniprepA">
<table>
<tr><td><s:textfield label="Date" name="recordDate"></s:textfield></td></tr>
<s:if test='colony == 0'><tr><td><s:textfield label="Colony" name="colony" value=""></s:textfield></td></tr></s:if>
<s:else><tr><td><s:textfield label="Colony" name="colony"></s:textfield></td></tr></s:else>
<s:if test='ml == 0.0'><tr><td><s:textfield label="[ng/ul]" name="ml" value=""/></td></tr></s:if>
<s:else><tr><td><s:textfield label="[ng/ul]" name="ml"/></td></tr></s:else>
<tr><td><s:radio label="Sequence confirmed" name="seqConfirmed" list="{'Yes', 'No'}"></s:radio></td></tr>
<tr><td><s:textarea label="Comments" rows="5" cols="35" name="comments"></s:textarea></td></tr>
</table>
<s:hidden name="geneName" value="%{geneName}"/>
<s:hidden name="type" value="A"/>
<table>
<tr><td><input type="button" value="update" onclick="updateMiniprepA()"/></td></tr>
</table>
</s:form>
</center>
</body>
</html>